.class public Lcom/instagram/android/login/b/ah;
.super Lcom/instagram/e/b/b;
.source "RegisterFragment.java"

# interfaces
.implements Lcom/instagram/a/b;
.implements Lcom/instagram/android/nux/q;


# static fields
.field private static ad:Z


# instance fields
.field private Z:Z

.field private a:Lcom/instagram/android/login/d/b;

.field private aa:Z

.field private ab:Lcom/instagram/android/login/d/a;

.field private ac:Z

.field private ae:Landroid/os/Handler;

.field private b:Landroid/os/Handler;

.field private c:Lcom/instagram/android/e/a;

.field private d:Landroid/widget/AutoCompleteTextView;

.field private e:Landroid/widget/EditText;

.field private f:Landroid/widget/EditText;

.field private g:Landroid/widget/EditText;

.field private h:Lcom/instagram/android/nux/i;

.field private final i:Lcom/instagram/android/login/b/bd;


# direct methods
.method static constructor <clinit>()V
    .locals 1

    .prologue
    .line 118
    const/4 v0, 0x1

    sput-boolean v0, Lcom/instagram/android/login/b/ah;->ad:Z

    return-void
.end method

.method public constructor <init>()V
    .locals 2

    .prologue
    .line 83
    invoke-direct {p0}, Lcom/instagram/e/b/b;-><init>()V

    .line 89
    new-instance v0, Landroid/os/Handler;

    invoke-direct {v0}, Landroid/os/Handler;-><init>()V

    iput-object v0, p0, Lcom/instagram/android/login/b/ah;->b:Landroid/os/Handler;

    .line 96
    new-instance v0, Lcom/instagram/android/login/b/bd;

    const/4 v1, 0x0

    invoke-direct {v0, p0, v1}, Lcom/instagram/android/login/b/bd;-><init>(Lcom/instagram/android/login/b/ah;Lcom/instagram/android/login/b/ai;)V

    iput-object v0, p0, Lcom/instagram/android/login/b/ah;->i:Lcom/instagram/android/login/b/bd;

    .line 111
    const/4 v0, 0x0

    iput-boolean v0, p0, Lcom/instagram/android/login/b/ah;->ac:Z

    .line 780
    new-instance v0, Lcom/instagram/android/login/b/ao;

    invoke-direct {v0, p0}, Lcom/instagram/android/login/b/ao;-><init>(Lcom/instagram/android/login/b/ah;)V

    iput-object v0, p0, Lcom/instagram/android/login/b/ah;->ae:Landroid/os/Handler;

    .line 977
    return-void
.end method

.method public static Y()Z
    .locals 1

    .prologue
    .line 667
    sget-boolean v0, Lcom/instagram/android/login/b/ah;->ad:Z

    return v0
.end method

.method private Z()V
    .locals 2

    .prologue
    .line 298
    invoke-virtual {p0}, Lcom/instagram/android/login/b/ah;->v()Landroid/view/View;

    move-result-object v0

    sget v1, Lcom/facebook/aw;->phone:I

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0}, Landroid/view/View;->requestFocus()Z

    .line 300
    new-instance v0, Lcom/instagram/android/login/d/c;

    invoke-direct {v0}, Lcom/instagram/android/login/d/c;-><init>()V

    .line 302
    invoke-direct {p0}, Lcom/instagram/android/login/b/ah;->ah()Ljava/lang/String;

    move-result-object v1

    iput-object v1, v0, Lcom/instagram/android/login/d/c;->a:Ljava/lang/String;

    .line 303
    invoke-direct {p0}, Lcom/instagram/android/login/b/ah;->ai()Ljava/lang/String;

    move-result-object v1

    iput-object v1, v0, Lcom/instagram/android/login/d/c;->b:Ljava/lang/String;

    .line 304
    invoke-direct {p0}, Lcom/instagram/android/login/b/ah;->ak()Ljava/lang/String;

    move-result-object v1

    iput-object v1, v0, Lcom/instagram/android/login/d/c;->c:Ljava/lang/String;

    .line 305
    invoke-direct {p0}, Lcom/instagram/android/login/b/ah;->al()Ljava/lang/String;

    move-result-object v1

    iput-object v1, v0, Lcom/instagram/android/login/d/c;->d:Ljava/lang/String;

    .line 306
    iget-object v1, p0, Lcom/instagram/android/login/b/ah;->c:Lcom/instagram/android/e/a;

    invoke-virtual {v1}, Lcom/instagram/android/e/a;->h()Landroid/graphics/Bitmap;

    move-result-object v1

    iput-object v1, v0, Lcom/instagram/android/login/d/c;->h:Landroid/graphics/Bitmap;

    .line 307
    invoke-virtual {p0}, Lcom/instagram/android/login/b/ah;->j()Landroid/support/v4/app/j;

    move-result-object v1

    invoke-static {v1}, Lcom/instagram/android/util/b;->b(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v1

    iput-object v1, v0, Lcom/instagram/android/login/d/c;->f:Ljava/lang/String;

    .line 308
    invoke-virtual {p0}, Lcom/instagram/android/login/b/ah;->j()Landroid/support/v4/app/j;

    move-result-object v1

    invoke-static {v1}, Lcom/instagram/android/util/b;->a(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v1

    iput-object v1, v0, Lcom/instagram/android/login/d/c;->e:Ljava/lang/String;

    .line 309
    invoke-direct {p0}, Lcom/instagram/android/login/b/ah;->aj()Ljava/lang/String;

    move-result-object v1

    iput-object v1, v0, Lcom/instagram/android/login/d/c;->g:Ljava/lang/String;

    .line 311
    iget-object v1, p0, Lcom/instagram/android/login/b/ah;->a:Lcom/instagram/android/login/d/b;

    invoke-virtual {v1, v0}, Lcom/instagram/android/login/d/b;->a(Lcom/instagram/android/login/d/c;)V

    .line 312
    return-void
.end method

.method static synthetic a(Lcom/instagram/android/login/b/ah;)Ljava/lang/String;
    .locals 1
    .parameter

    .prologue
    .line 83
    invoke-direct {p0}, Lcom/instagram/android/login/b/ah;->al()Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method static synthetic a(Lcom/instagram/android/login/b/ah;Ljava/lang/CharSequence;)V
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 83
    invoke-direct {p0, p1}, Lcom/instagram/android/login/b/ah;->a(Ljava/lang/CharSequence;)V

    return-void
.end method

.method static synthetic a(Lcom/instagram/android/login/b/ah;Z)V
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 83
    invoke-direct {p0, p1}, Lcom/instagram/android/login/b/ah;->g(Z)V

    return-void
.end method

.method private a(Ljava/lang/CharSequence;)V
    .locals 3
    .parameter

    .prologue
    .line 172
    new-instance v0, Lcom/instagram/ui/a/a;

    invoke-virtual {p0}, Lcom/instagram/android/login/b/ah;->j()Landroid/support/v4/app/j;

    move-result-object v1

    invoke-direct {v0, v1}, Lcom/instagram/ui/a/a;-><init>(Landroid/content/Context;)V

    .line 173
    sget v1, Lcom/facebook/ba;->email_suggestion_title:I

    invoke-virtual {v0, v1}, Lcom/instagram/ui/a/a;->b(I)Lcom/instagram/ui/a/a;

    .line 174
    invoke-virtual {v0, p1}, Lcom/instagram/ui/a/a;->a(Ljava/lang/CharSequence;)Lcom/instagram/ui/a/a;

    .line 175
    sget v1, Lcom/facebook/ba;->yes:I

    new-instance v2, Lcom/instagram/android/login/b/ai;

    invoke-direct {v2, p0, p1}, Lcom/instagram/android/login/b/ai;-><init>(Lcom/instagram/android/login/b/ah;Ljava/lang/CharSequence;)V

    invoke-virtual {v0, v1, v2}, Lcom/instagram/ui/a/a;->a(ILandroid/content/DialogInterface$OnClickListener;)Lcom/instagram/ui/a/a;

    .line 185
    sget v1, Lcom/facebook/ba;->no:I

    new-instance v2, Lcom/instagram/android/login/b/ap;

    invoke-direct {v2, p0}, Lcom/instagram/android/login/b/ap;-><init>(Lcom/instagram/android/login/b/ah;)V

    invoke-virtual {v0, v1, v2}, Lcom/instagram/ui/a/a;->b(ILandroid/content/DialogInterface$OnClickListener;)Lcom/instagram/ui/a/a;

    .line 191
    invoke-virtual {v0}, Lcom/instagram/ui/a/a;->b()Landroid/app/Dialog;

    move-result-object v0

    invoke-virtual {v0}, Landroid/app/Dialog;->show()V

    .line 192
    return-void
.end method

.method private a(Ljava/lang/String;)Z
    .locals 1
    .parameter

    .prologue
    .line 515
    invoke-virtual {p0}, Lcom/instagram/android/login/b/ah;->i()Landroid/os/Bundle;

    move-result-object v0

    if-eqz v0, :cond_0

    invoke-virtual {p0}, Lcom/instagram/android/login/b/ah;->i()Landroid/os/Bundle;

    move-result-object v0

    invoke-virtual {v0, p1}, Landroid/os/Bundle;->containsKey(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_0

    const/4 v0, 0x1

    :goto_0
    return v0

    :cond_0
    const/4 v0, 0x0

    goto :goto_0
.end method

.method private aa()V
    .locals 5

    .prologue
    .line 315
    invoke-static {}, Lcom/instagram/android/util/b;->b()V

    .line 317
    invoke-virtual {p0}, Lcom/instagram/android/login/b/ah;->i()Landroid/os/Bundle;

    move-result-object v0

    if-eqz v0, :cond_0

    invoke-virtual {p0}, Lcom/instagram/android/login/b/ah;->i()Landroid/os/Bundle;

    move-result-object v0

    const-string v1, "com.instagram.android.login.fragment.RegisterFragment.ARGUMENT_DAYONE_FACEBOOK"

    const/4 v2, 0x0

    invoke-virtual {v0, v1, v2}, Landroid/os/Bundle;->getBoolean(Ljava/lang/String;Z)Z

    move-result v0

    if-eqz v0, :cond_0

    .line 318
    iget-object v0, p0, Lcom/instagram/android/login/b/ah;->c:Lcom/instagram/android/e/a;

    invoke-virtual {v0}, Lcom/instagram/android/e/a;->g()V

    .line 319
    invoke-direct {p0}, Lcom/instagram/android/login/b/ah;->ae()V

    .line 322
    :cond_0
    invoke-virtual {p0}, Lcom/instagram/android/login/b/ah;->j()Landroid/support/v4/app/j;

    move-result-object v0

    sget v1, Lcom/facebook/aw;->signUpButton:I

    invoke-virtual {v0, v1}, Landroid/support/v4/app/j;->findViewById(I)Landroid/view/View;

    move-result-object v0

    new-instance v1, Lcom/instagram/android/login/b/ar;

    invoke-direct {v1, p0}, Lcom/instagram/android/login/b/ar;-><init>(Lcom/instagram/android/login/b/ah;)V

    invoke-virtual {v0, v1}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 366
    new-instance v0, Lcom/instagram/android/login/b/au;

    invoke-direct {v0, p0}, Lcom/instagram/android/login/b/au;-><init>(Lcom/instagram/android/login/b/ah;)V

    .line 372
    invoke-virtual {p0}, Lcom/instagram/android/login/b/ah;->j()Landroid/support/v4/app/j;

    move-result-object v1

    sget v2, Lcom/facebook/aw;->fragment_sign_up_profile_picture_button:I

    invoke-virtual {v1, v2}, Landroid/support/v4/app/j;->findViewById(I)Landroid/view/View;

    move-result-object v1

    invoke-virtual {v1, v0}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 373
    invoke-virtual {p0}, Lcom/instagram/android/login/b/ah;->j()Landroid/support/v4/app/j;

    move-result-object v1

    sget v2, Lcom/facebook/aw;->fragment_sign_up_profile_picture_wrap:I

    invoke-virtual {v1, v2}, Landroid/support/v4/app/j;->findViewById(I)Landroid/view/View;

    move-result-object v1

    invoke-virtual {v1, v0}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 375
    invoke-virtual {p0}, Lcom/instagram/android/login/b/ah;->j()Landroid/support/v4/app/j;

    move-result-object v0

    sget v1, Lcom/facebook/aw;->button_facebook_connect:I

    invoke-virtual {v0, v1}, Landroid/support/v4/app/j;->findViewById(I)Landroid/view/View;

    move-result-object v0

    new-instance v1, Lcom/instagram/android/login/b/av;

    invoke-direct {v1, p0}, Lcom/instagram/android/login/b/av;-><init>(Lcom/instagram/android/login/b/ah;)V

    invoke-virtual {v0, v1}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 390
    new-instance v0, Lcom/instagram/android/login/d/a;

    invoke-virtual {p0}, Lcom/instagram/android/login/b/ah;->getContext()Landroid/content/Context;

    move-result-object v1

    invoke-virtual {p0}, Lcom/instagram/android/login/b/ah;->u()Landroid/support/v4/app/aj;

    move-result-object v2

    const/4 v3, 0x1

    new-instance v4, Lcom/instagram/android/login/b/aw;

    invoke-direct {v4, p0}, Lcom/instagram/android/login/b/aw;-><init>(Lcom/instagram/android/login/b/ah;)V

    invoke-direct {v0, v1, v2, v3, v4}, Lcom/instagram/android/login/d/a;-><init>(Landroid/content/Context;Landroid/support/v4/app/aj;ILcom/instagram/android/d/j/f;)V

    iput-object v0, p0, Lcom/instagram/android/login/b/ah;->ab:Lcom/instagram/android/login/d/a;

    .line 430
    invoke-virtual {p0}, Lcom/instagram/android/login/b/ah;->j()Landroid/support/v4/app/j;

    move-result-object v0

    sget v1, Lcom/facebook/aw;->username:I

    invoke-virtual {v0, v1}, Landroid/support/v4/app/j;->findViewById(I)Landroid/view/View;

    move-result-object v0

    new-instance v1, Lcom/instagram/android/login/b/ay;

    invoke-direct {v1, p0}, Lcom/instagram/android/login/b/ay;-><init>(Lcom/instagram/android/login/b/ah;)V

    invoke-virtual {v0, v1}, Landroid/view/View;->setOnFocusChangeListener(Landroid/view/View$OnFocusChangeListener;)V

    .line 439
    invoke-virtual {p0}, Lcom/instagram/android/login/b/ah;->j()Landroid/support/v4/app/j;

    move-result-object v0

    sget v1, Lcom/facebook/aw;->username:I

    invoke-virtual {v0, v1}, Landroid/support/v4/app/j;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    new-instance v1, Lcom/instagram/android/login/b/az;

    invoke-direct {v1, p0}, Lcom/instagram/android/login/b/az;-><init>(Lcom/instagram/android/login/b/ah;)V

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->addTextChangedListener(Landroid/text/TextWatcher;)V

    .line 449
    invoke-virtual {p0}, Lcom/instagram/android/login/b/ah;->j()Landroid/support/v4/app/j;

    move-result-object v0

    sget v1, Lcom/facebook/aw;->password:I

    invoke-virtual {v0, v1}, Landroid/support/v4/app/j;->findViewById(I)Landroid/view/View;

    move-result-object v0

    new-instance v1, Lcom/instagram/android/login/b/aj;

    invoke-direct {v1, p0}, Lcom/instagram/android/login/b/aj;-><init>(Lcom/instagram/android/login/b/ah;)V

    invoke-virtual {v0, v1}, Landroid/view/View;->setOnFocusChangeListener(Landroid/view/View$OnFocusChangeListener;)V

    .line 462
    invoke-virtual {p0}, Lcom/instagram/android/login/b/ah;->j()Landroid/support/v4/app/j;

    move-result-object v0

    sget v1, Lcom/facebook/aw;->password:I

    invoke-virtual {v0, v1}, Landroid/support/v4/app/j;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    new-instance v1, Lcom/instagram/android/login/b/ak;

    invoke-direct {v1, p0}, Lcom/instagram/android/login/b/ak;-><init>(Lcom/instagram/android/login/b/ah;)V

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->addTextChangedListener(Landroid/text/TextWatcher;)V

    .line 476
    invoke-virtual {p0}, Lcom/instagram/android/login/b/ah;->j()Landroid/support/v4/app/j;

    move-result-object v0

    sget v1, Lcom/facebook/aw;->email:I

    invoke-virtual {v0, v1}, Landroid/support/v4/app/j;->findViewById(I)Landroid/view/View;

    move-result-object v0

    new-instance v1, Lcom/instagram/android/login/b/al;

    invoke-direct {v1, p0}, Lcom/instagram/android/login/b/al;-><init>(Lcom/instagram/android/login/b/ah;)V

    invoke-virtual {v0, v1}, Landroid/view/View;->setOnFocusChangeListener(Landroid/view/View$OnFocusChangeListener;)V

    .line 495
    invoke-virtual {p0}, Lcom/instagram/android/login/b/ah;->j()Landroid/support/v4/app/j;

    move-result-object v0

    sget v1, Lcom/facebook/aw;->email:I

    invoke-virtual {v0, v1}, Landroid/support/v4/app/j;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    new-instance v1, Lcom/instagram/android/login/b/am;

    invoke-direct {v1, p0}, Lcom/instagram/android/login/b/am;-><init>(Lcom/instagram/android/login/b/ah;)V

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->addTextChangedListener(Landroid/text/TextWatcher;)V

    .line 509
    iget-object v0, p0, Lcom/instagram/android/login/b/ah;->f:Landroid/widget/EditText;

    invoke-virtual {v0}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/instagram/n/i;->a(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_1

    .line 510
    invoke-direct {p0}, Lcom/instagram/android/login/b/ah;->ac()V

    .line 512
    :cond_1
    return-void
.end method

.method private ab()V
    .locals 7

    .prologue
    const/4 v1, 0x0

    .line 519
    invoke-virtual {p0}, Lcom/instagram/android/login/b/ah;->getContext()Landroid/content/Context;

    move-result-object v0

    invoke-static {v0}, Landroid/accounts/AccountManager;->get(Landroid/content/Context;)Landroid/accounts/AccountManager;

    move-result-object v0

    invoke-virtual {v0}, Landroid/accounts/AccountManager;->getAccounts()[Landroid/accounts/Account;

    move-result-object v2

    .line 520
    new-instance v3, Ljava/util/ArrayList;

    invoke-direct {v3}, Ljava/util/ArrayList;-><init>()V

    .line 521
    array-length v4, v2

    move v0, v1

    :goto_0
    if-ge v0, v4, :cond_1

    aget-object v5, v2, v0

    .line 522
    iget-object v6, v5, Landroid/accounts/Account;->name:Ljava/lang/String;

    invoke-static {v6}, Lcom/instagram/n/i;->a(Ljava/lang/CharSequence;)Z

    move-result v6

    if-nez v6, :cond_0

    iget-object v6, v5, Landroid/accounts/Account;->name:Ljava/lang/String;

    invoke-static {v6}, Lcom/instagram/n/i;->c(Ljava/lang/CharSequence;)Z

    move-result v6

    if-eqz v6, :cond_0

    iget-object v6, v5, Landroid/accounts/Account;->name:Ljava/lang/String;

    invoke-interface {v3, v6}, Ljava/util/List;->contains(Ljava/lang/Object;)Z

    move-result v6

    if-nez v6, :cond_0

    .line 525
    iget-object v5, v5, Landroid/accounts/Account;->name:Ljava/lang/String;

    invoke-interface {v3, v5}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 521
    :cond_0
    add-int/lit8 v0, v0, 0x1

    goto :goto_0

    .line 529
    :cond_1
    invoke-interface {v3}, Ljava/util/List;->size()I

    move-result v0

    new-array v0, v0, [Ljava/lang/String;

    invoke-interface {v3, v0}, Ljava/util/List;->toArray([Ljava/lang/Object;)[Ljava/lang/Object;

    move-result-object v0

    check-cast v0, [Ljava/lang/String;

    .line 531
    new-instance v2, Landroid/widget/ArrayAdapter;

    invoke-virtual {p0}, Lcom/instagram/android/login/b/ah;->j()Landroid/support/v4/app/j;

    move-result-object v3

    sget v4, Lcom/facebook/ax;->row_autocomplete_email:I

    invoke-direct {v2, v3, v4, v0}, Landroid/widget/ArrayAdapter;-><init>(Landroid/content/Context;I[Ljava/lang/Object;)V

    .line 534
    array-length v3, v0

    if-lez v3, :cond_2

    .line 535
    iget-object v3, p0, Lcom/instagram/android/login/b/ah;->d:Landroid/widget/AutoCompleteTextView;

    aget-object v0, v0, v1

    invoke-virtual {v3, v0}, Landroid/widget/AutoCompleteTextView;->setText(Ljava/lang/CharSequence;)V

    .line 537
    :cond_2
    iget-object v0, p0, Lcom/instagram/android/login/b/ah;->d:Landroid/widget/AutoCompleteTextView;

    invoke-virtual {v0, v2}, Landroid/widget/AutoCompleteTextView;->setAdapter(Landroid/widget/ListAdapter;)V

    .line 538
    return-void
.end method

.method private ac()V
    .locals 3

    .prologue
    .line 541
    invoke-virtual {p0}, Lcom/instagram/android/login/b/ah;->j()Landroid/support/v4/app/j;

    move-result-object v0

    sget v1, Lcom/facebook/aw;->username:I

    invoke-virtual {v0, v1}, Landroid/support/v4/app/j;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    .line 542
    invoke-virtual {v0}, Landroid/widget/TextView;->getText()Ljava/lang/CharSequence;

    move-result-object v1

    invoke-interface {v1}, Ljava/lang/CharSequence;->length()I

    move-result v1

    if-nez v1, :cond_1

    .line 543
    const/4 v0, 0x1

    invoke-direct {p0, v0}, Lcom/instagram/android/login/b/ah;->h(Z)V

    .line 552
    :cond_0
    :goto_0
    return-void

    .line 546
    :cond_1
    invoke-virtual {v0}, Landroid/widget/TextView;->getText()Ljava/lang/CharSequence;

    move-result-object v1

    invoke-interface {v1}, Ljava/lang/CharSequence;->toString()Ljava/lang/String;

    move-result-object v1

    iget-object v2, p0, Lcom/instagram/android/login/b/ah;->ab:Lcom/instagram/android/login/d/a;

    invoke-virtual {v2}, Lcom/instagram/android/login/d/a;->i()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-nez v1, :cond_0

    .line 549
    invoke-static {}, Lcom/instagram/android/nux/a/a;->a()Lcom/instagram/android/nux/a/a;

    move-result-object v1

    invoke-virtual {v1}, Lcom/instagram/android/nux/a/a;->d()V

    .line 550
    iget-object v1, p0, Lcom/instagram/android/login/b/ah;->ab:Lcom/instagram/android/login/d/a;

    invoke-virtual {v0}, Landroid/widget/TextView;->getText()Ljava/lang/CharSequence;

    move-result-object v0

    invoke-interface {v0}, Ljava/lang/CharSequence;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v1, v0}, Lcom/instagram/android/login/d/a;->a(Ljava/lang/String;)V

    goto :goto_0
.end method

.method private ad()V
    .locals 1

    .prologue
    .line 555
    iget-object v0, p0, Lcom/instagram/android/login/b/ah;->h:Lcom/instagram/android/nux/i;

    invoke-virtual {v0}, Lcom/instagram/android/nux/i;->b()V

    .line 556
    return-void
.end method

.method private ae()V
    .locals 3

    .prologue
    const/4 v2, 0x0

    .line 559
    invoke-virtual {p0}, Lcom/instagram/android/login/b/ah;->j()Landroid/support/v4/app/j;

    move-result-object v0

    sget v1, Lcom/facebook/aw;->disclosure_facebook:I

    invoke-virtual {v0, v1}, Landroid/support/v4/app/j;->findViewById(I)Landroid/view/View;

    move-result-object v0

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    .line 560
    invoke-virtual {p0}, Lcom/instagram/android/login/b/ah;->j()Landroid/support/v4/app/j;

    move-result-object v0

    sget v1, Lcom/facebook/aw;->disclosure_facebook_done:I

    invoke-virtual {v0, v1}, Landroid/support/v4/app/j;->findViewById(I)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0, v2}, Landroid/view/View;->setVisibility(I)V

    .line 561
    invoke-direct {p0, v2}, Lcom/instagram/android/login/b/ah;->g(Z)V

    .line 562
    return-void
.end method

.method private af()V
    .locals 2

    .prologue
    .line 653
    invoke-static {}, Lcom/instagram/android/g/b;->b()V

    .line 654
    iget-object v0, p0, Lcom/instagram/android/login/b/ah;->c:Lcom/instagram/android/e/a;

    invoke-virtual {v0}, Lcom/instagram/android/e/a;->g()V

    .line 655
    invoke-static {}, Lcom/instagram/android/nux/a/a;->a()Lcom/instagram/android/nux/a/a;

    move-result-object v0

    invoke-static {}, Lcom/instagram/android/g/b;->e()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/instagram/android/nux/a/a;->b(Ljava/lang/String;)V

    .line 656
    invoke-direct {p0}, Lcom/instagram/android/login/b/ah;->ad()V

    .line 657
    return-void
.end method

.method private ag()V
    .locals 2

    .prologue
    .line 715
    invoke-virtual {p0}, Lcom/instagram/android/login/b/ah;->j()Landroid/support/v4/app/j;

    move-result-object v0

    invoke-virtual {p0}, Lcom/instagram/android/login/b/ah;->v()Landroid/view/View;

    move-result-object v1

    invoke-static {v0, v1}, Lcom/instagram/n/k;->a(Landroid/content/Context;Landroid/view/View;)V

    .line 716
    invoke-virtual {p0}, Lcom/instagram/android/login/b/ah;->j()Landroid/support/v4/app/j;

    move-result-object v0

    invoke-virtual {v0}, Landroid/support/v4/app/j;->getWindow()Landroid/view/Window;

    move-result-object v0

    const/4 v1, 0x3

    invoke-virtual {v0, v1}, Landroid/view/Window;->setSoftInputMode(I)V

    .line 717
    return-void
.end method

.method private ah()Ljava/lang/String;
    .locals 2

    .prologue
    .line 720
    invoke-virtual {p0}, Lcom/instagram/android/login/b/ah;->j()Landroid/support/v4/app/j;

    move-result-object v0

    sget v1, Lcom/facebook/aw;->email:I

    invoke-virtual {v0, v1}, Landroid/support/v4/app/j;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/EditText;

    invoke-virtual {v0}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method private ai()Ljava/lang/String;
    .locals 2

    .prologue
    .line 724
    invoke-virtual {p0}, Lcom/instagram/android/login/b/ah;->j()Landroid/support/v4/app/j;

    move-result-object v0

    sget v1, Lcom/facebook/aw;->username:I

    invoke-virtual {v0, v1}, Landroid/support/v4/app/j;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/EditText;

    invoke-virtual {v0}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method private aj()Ljava/lang/String;
    .locals 2

    .prologue
    .line 728
    invoke-virtual {p0}, Lcom/instagram/android/login/b/ah;->j()Landroid/support/v4/app/j;

    move-result-object v0

    sget v1, Lcom/facebook/aw;->full_name:I

    invoke-virtual {v0, v1}, Landroid/support/v4/app/j;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/EditText;

    invoke-virtual {v0}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method private ak()Ljava/lang/String;
    .locals 1

    .prologue
    .line 732
    iget-object v0, p0, Lcom/instagram/android/login/b/ah;->e:Landroid/widget/EditText;

    invoke-virtual {v0}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method private al()Ljava/lang/String;
    .locals 2

    .prologue
    .line 736
    invoke-virtual {p0}, Lcom/instagram/android/login/b/ah;->j()Landroid/support/v4/app/j;

    move-result-object v0

    sget v1, Lcom/facebook/aw;->phone:I

    invoke-virtual {v0, v1}, Landroid/support/v4/app/j;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/EditText;

    invoke-virtual {v0}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method private am()V
    .locals 4

    .prologue
    .line 849
    const/4 v0, 0x0

    invoke-static {v0}, Lcom/instagram/android/login/b/ah;->b(Z)V

    .line 851
    invoke-virtual {p0}, Lcom/instagram/android/login/b/ah;->j()Landroid/support/v4/app/j;

    move-result-object v0

    invoke-static {v0}, Lcom/instagram/android/receiver/C2DMReceiver;->b(Landroid/content/Context;)V

    .line 853
    invoke-static {}, Lcom/instagram/android/g/b;->c()Z

    move-result v0

    if-eqz v0, :cond_0

    .line 854
    invoke-static {}, Lcom/instagram/android/g/b;->d()V

    .line 857
    :cond_0
    invoke-static {}, Lcom/instagram/android/u/a;->c()Z

    move-result v0

    if-eqz v0, :cond_1

    .line 858
    invoke-static {}, Lcom/instagram/android/u/a;->d()V

    .line 861
    :cond_1
    invoke-static {}, Lcom/instagram/android/w/a;->d()Z

    move-result v0

    if-eqz v0, :cond_2

    .line 862
    invoke-static {}, Lcom/instagram/android/w/a;->e()V

    .line 865
    :cond_2
    invoke-static {}, Lcom/instagram/android/g/b;->a()Lcom/facebook/a/b;

    move-result-object v0

    .line 866
    invoke-virtual {v0}, Lcom/facebook/a/b;->b()Z

    move-result v1

    if-eqz v1, :cond_3

    invoke-virtual {v0}, Lcom/facebook/a/b;->c()Ljava/lang/String;

    move-result-object v1

    if-eqz v1, :cond_3

    .line 869
    new-instance v1, Lcom/instagram/android/fragment/hz;

    invoke-virtual {p0}, Lcom/instagram/android/login/b/ah;->m()Landroid/support/v4/app/r;

    move-result-object v2

    invoke-direct {v1, v2}, Lcom/instagram/android/fragment/hz;-><init>(Landroid/support/v4/app/r;)V

    invoke-virtual {v0}, Lcom/facebook/a/b;->c()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v1, v0}, Lcom/instagram/android/fragment/hz;->b(Ljava/lang/String;)Lcom/instagram/android/fragment/hz;

    move-result-object v0

    sget v1, Lcom/facebook/ba;->find_friends_item_facebook_friends:I

    invoke-virtual {p0, v1}, Lcom/instagram/android/login/b/ah;->b(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/instagram/android/fragment/hz;->c(Ljava/lang/String;)Lcom/instagram/android/fragment/hz;

    move-result-object v0

    invoke-virtual {v0}, Lcom/instagram/android/fragment/hz;->c()Lcom/instagram/android/fragment/hz;

    move-result-object v0

    invoke-virtual {v0}, Lcom/instagram/android/fragment/hz;->e()V

    .line 889
    :goto_0
    return-void

    .line 876
    :cond_3
    new-instance v1, Landroid/os/Bundle;

    invoke-direct {v1}, Landroid/os/Bundle;-><init>()V

    .line 877
    const-string v0, "com.instagram.android.login.fragment.RegisterFragment.ARGUMENT_IS_SIGN_UP_FLOW"

    const/4 v2, 0x1

    invoke-virtual {v1, v0, v2}, Landroid/os/Bundle;->putBoolean(Ljava/lang/String;Z)V

    .line 879
    invoke-virtual {p0}, Lcom/instagram/android/login/b/ah;->getContext()Landroid/content/Context;

    move-result-object v0

    invoke-static {v0}, Lcom/instagram/android/w/a;->a(Landroid/content/Context;)Z

    move-result v0

    if-eqz v0, :cond_4

    new-instance v0, Lcom/instagram/android/fragment/da;

    invoke-direct {v0}, Lcom/instagram/android/fragment/da;-><init>()V

    .line 884
    :goto_1
    new-instance v2, Lcom/instagram/e/b/a/a;

    invoke-virtual {p0}, Lcom/instagram/android/login/b/ah;->m()Landroid/support/v4/app/r;

    move-result-object v3

    invoke-direct {v2, v3}, Lcom/instagram/e/b/a/a;-><init>(Landroid/support/v4/app/r;)V

    invoke-virtual {v2, v0, v1}, Lcom/instagram/e/b/a/a;->a(Landroid/support/v4/app/Fragment;Landroid/os/Bundle;)Lcom/instagram/e/b/a/a;

    move-result-object v0

    invoke-virtual {v0}, Lcom/instagram/e/b/a/a;->f()Lcom/instagram/e/b/a/a;

    move-result-object v0

    invoke-virtual {v0}, Lcom/instagram/e/b/a/a;->e()V

    goto :goto_0

    .line 879
    :cond_4
    new-instance v0, Lcom/instagram/android/fragment/cg;

    invoke-direct {v0}, Lcom/instagram/android/fragment/cg;-><init>()V

    goto :goto_1
.end method

.method private an()V
    .locals 2

    .prologue
    .line 929
    invoke-virtual {p0}, Lcom/instagram/android/login/b/ah;->v()Landroid/view/View;

    move-result-object v0

    if-nez v0, :cond_0

    .line 942
    :goto_0
    return-void

    .line 933
    :cond_0
    invoke-direct {p0}, Lcom/instagram/android/login/b/ah;->ah()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/instagram/n/i;->a(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_1

    invoke-direct {p0}, Lcom/instagram/android/login/b/ah;->ak()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/instagram/n/i;->a(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_1

    invoke-direct {p0}, Lcom/instagram/android/login/b/ah;->ak()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v0

    const/4 v1, 0x6

    if-lt v0, v1, :cond_1

    invoke-direct {p0}, Lcom/instagram/android/login/b/ah;->ai()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/instagram/n/i;->a(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_2

    .line 937
    :cond_1
    invoke-virtual {p0}, Lcom/instagram/android/login/b/ah;->j()Landroid/support/v4/app/j;

    move-result-object v0

    sget v1, Lcom/facebook/aw;->signUpButton:I

    invoke-virtual {v0, v1}, Landroid/support/v4/app/j;->findViewById(I)Landroid/view/View;

    move-result-object v0

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/view/View;->setEnabled(Z)V

    goto :goto_0

    .line 939
    :cond_2
    invoke-virtual {p0}, Lcom/instagram/android/login/b/ah;->j()Landroid/support/v4/app/j;

    move-result-object v0

    sget v1, Lcom/facebook/aw;->signUpButton:I

    invoke-virtual {v0, v1}, Landroid/support/v4/app/j;->findViewById(I)Landroid/view/View;

    move-result-object v0

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Landroid/view/View;->setEnabled(Z)V

    .line 940
    invoke-static {}, Lcom/instagram/android/nux/a/a;->a()Lcom/instagram/android/nux/a/a;

    move-result-object v0

    invoke-virtual {v0}, Lcom/instagram/android/nux/a/a;->h()V

    goto :goto_0
.end method

.method private ao()V
    .locals 3

    .prologue
    .line 949
    invoke-virtual {p0}, Lcom/instagram/android/login/b/ah;->j()Landroid/support/v4/app/j;

    move-result-object v0

    sget v1, Lcom/facebook/aw;->username_glyph:I

    invoke-virtual {v0, v1}, Landroid/support/v4/app/j;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    invoke-virtual {p0}, Lcom/instagram/android/login/b/ah;->l()Landroid/content/res/Resources;

    move-result-object v1

    sget v2, Lcom/facebook/av;->accounts_glyph_username_positive:I

    invoke-virtual {v1, v2}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V

    .line 950
    return-void
.end method

.method static synthetic b(Lcom/instagram/android/login/b/ah;)Ljava/lang/String;
    .locals 1
    .parameter

    .prologue
    .line 83
    invoke-direct {p0}, Lcom/instagram/android/login/b/ah;->ah()Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method static synthetic b(Lcom/instagram/android/login/b/ah;Z)V
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 83
    invoke-direct {p0, p1}, Lcom/instagram/android/login/b/ah;->h(Z)V

    return-void
.end method

.method private b(Lcom/instagram/android/nux/k;)V
    .locals 7
    .parameter

    .prologue
    const/4 v4, 0x0

    const/4 v3, 0x1

    .line 565
    if-eqz p1, :cond_4

    .line 571
    invoke-virtual {p0}, Lcom/instagram/android/login/b/ah;->j()Landroid/support/v4/app/j;

    move-result-object v0

    sget v1, Lcom/facebook/aw;->email:I

    invoke-virtual {v0, v1}, Landroid/support/v4/app/j;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    .line 572
    invoke-virtual {p0}, Lcom/instagram/android/login/b/ah;->j()Landroid/support/v4/app/j;

    move-result-object v1

    sget v2, Lcom/facebook/aw;->full_name:I

    invoke-virtual {v1, v2}, Landroid/support/v4/app/j;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/TextView;

    .line 573
    invoke-virtual {p0}, Lcom/instagram/android/login/b/ah;->j()Landroid/support/v4/app/j;

    move-result-object v2

    sget v5, Lcom/facebook/aw;->password:I

    invoke-virtual {v2, v5}, Landroid/support/v4/app/j;->findViewById(I)Landroid/view/View;

    move-result-object v2

    check-cast v2, Landroid/widget/TextView;

    .line 574
    invoke-virtual {p0}, Lcom/instagram/android/login/b/ah;->j()Landroid/support/v4/app/j;

    move-result-object v2

    sget v5, Lcom/facebook/aw;->username:I

    invoke-virtual {v2, v5}, Landroid/support/v4/app/j;->findViewById(I)Landroid/view/View;

    move-result-object v2

    check-cast v2, Landroid/widget/TextView;

    .line 576
    iget-object v5, p1, Lcom/instagram/android/nux/k;->d:Ljava/lang/String;

    if-eqz v5, :cond_8

    .line 577
    invoke-virtual {v0}, Landroid/widget/TextView;->getText()Ljava/lang/CharSequence;

    move-result-object v5

    invoke-static {v5}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v5

    if-eqz v5, :cond_7

    .line 579
    iget-object v5, p1, Lcom/instagram/android/nux/k;->d:Ljava/lang/String;

    const-string v6, "@proxymail.facebook.com"

    invoke-virtual {v5, v6}, Ljava/lang/String;->endsWith(Ljava/lang/String;)Z

    move-result v5

    if-nez v5, :cond_7

    .line 580
    iget-object v5, p1, Lcom/instagram/android/nux/k;->d:Ljava/lang/String;

    invoke-virtual {v0, v5}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    move v0, v3

    :goto_0
    move v5, v3

    .line 587
    :goto_1
    iget-object v6, p1, Lcom/instagram/android/nux/k;->c:Ljava/lang/String;

    if-eqz v6, :cond_6

    .line 588
    invoke-virtual {v1}, Landroid/widget/TextView;->getText()Ljava/lang/CharSequence;

    move-result-object v5

    invoke-static {v5}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v5

    if-eqz v5, :cond_5

    .line 589
    iget-object v5, p1, Lcom/instagram/android/nux/k;->c:Ljava/lang/String;

    invoke-virtual {v1, v5}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    move v1, v3

    :goto_2
    move v5, v3

    .line 595
    :goto_3
    iget-object v6, p1, Lcom/instagram/android/nux/k;->e:Ljava/lang/String;

    if-eqz v6, :cond_1

    sget-object v6, Lcom/instagram/android/o/j;->a:Lcom/instagram/android/o/j;

    invoke-virtual {v6}, Lcom/instagram/android/o/j;->b()Z

    move-result v6

    if-eqz v6, :cond_1

    .line 596
    invoke-virtual {v2}, Landroid/widget/TextView;->getText()Ljava/lang/CharSequence;

    move-result-object v5

    invoke-static {v5}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v5

    if-eqz v5, :cond_0

    .line 597
    iget-object v4, p1, Lcom/instagram/android/nux/k;->e:Ljava/lang/String;

    invoke-static {v4}, Lcom/instagram/android/nux/i;->a(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v2, v4}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 598
    invoke-direct {p0}, Lcom/instagram/android/login/b/ah;->ac()V

    move v4, v3

    :cond_0
    move v5, v3

    .line 604
    :cond_1
    if-eqz v5, :cond_2

    iget-object v2, p0, Lcom/instagram/android/login/b/ah;->h:Lcom/instagram/android/nux/i;

    invoke-virtual {v2}, Lcom/instagram/android/nux/i;->c()Z

    move-result v2

    if-nez v2, :cond_2

    .line 605
    invoke-direct {p0}, Lcom/instagram/android/login/b/ah;->ae()V

    .line 608
    :cond_2
    invoke-direct {p0}, Lcom/instagram/android/login/b/ah;->ai()Ljava/lang/String;

    move-result-object v2

    invoke-static {v2}, Lcom/instagram/n/i;->a(Ljava/lang/CharSequence;)Z

    move-result v2

    if-eqz v2, :cond_3

    .line 609
    invoke-virtual {p0}, Lcom/instagram/android/login/b/ah;->j()Landroid/support/v4/app/j;

    move-result-object v2

    sget v3, Lcom/facebook/aw;->username:I

    invoke-virtual {v2, v3}, Landroid/support/v4/app/j;->findViewById(I)Landroid/view/View;

    move-result-object v2

    invoke-virtual {v2}, Landroid/view/View;->requestFocus()Z

    .line 612
    :cond_3
    invoke-static {}, Lcom/instagram/android/nux/a/a;->a()Lcom/instagram/android/nux/a/a;

    move-result-object v2

    invoke-virtual {v2, v0, v1, v4}, Lcom/instagram/android/nux/a/a;->a(ZZZ)V

    .line 616
    :cond_4
    return-void

    :cond_5
    move v1, v4

    goto :goto_2

    :cond_6
    move v1, v4

    goto :goto_3

    :cond_7
    move v0, v4

    goto :goto_0

    :cond_8
    move v0, v4

    move v5, v4

    goto :goto_1
.end method

.method public static b(Z)V
    .locals 1
    .parameter

    .prologue
    .line 660
    if-eqz p0, :cond_0

    .line 661
    invoke-static {}, Lcom/instagram/android/nux/a/a;->a()Lcom/instagram/android/nux/a/a;

    move-result-object v0

    invoke-virtual {v0}, Lcom/instagram/android/nux/a/a;->c()V

    .line 663
    :cond_0
    sput-boolean p0, Lcom/instagram/android/login/b/ah;->ad:Z

    .line 664
    return-void
.end method

.method static synthetic c(Lcom/instagram/android/login/b/ah;)V
    .locals 0
    .parameter

    .prologue
    .line 83
    invoke-direct {p0}, Lcom/instagram/android/login/b/ah;->Z()V

    return-void
.end method

.method static synthetic c(Lcom/instagram/android/login/b/ah;Z)Z
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 83
    iput-boolean p1, p0, Lcom/instagram/android/login/b/ah;->ac:Z

    return p1
.end method

.method static synthetic d(Lcom/instagram/android/login/b/ah;)Lcom/instagram/android/e/a;
    .locals 1
    .parameter

    .prologue
    .line 83
    iget-object v0, p0, Lcom/instagram/android/login/b/ah;->c:Lcom/instagram/android/e/a;

    return-object v0
.end method

.method static synthetic d(Lcom/instagram/android/login/b/ah;Z)V
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 83
    invoke-direct {p0, p1}, Lcom/instagram/android/login/b/ah;->i(Z)V

    return-void
.end method

.method static synthetic e(Lcom/instagram/android/login/b/ah;)V
    .locals 0
    .parameter

    .prologue
    .line 83
    invoke-direct {p0}, Lcom/instagram/android/login/b/ah;->ao()V

    return-void
.end method

.method static synthetic e(Lcom/instagram/android/login/b/ah;Z)V
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 83
    invoke-direct {p0, p1}, Lcom/instagram/android/login/b/ah;->j(Z)V

    return-void
.end method

.method static synthetic f(Lcom/instagram/android/login/b/ah;)Landroid/os/Handler;
    .locals 1
    .parameter

    .prologue
    .line 83
    iget-object v0, p0, Lcom/instagram/android/login/b/ah;->ae:Landroid/os/Handler;

    return-object v0
.end method

.method static synthetic g(Lcom/instagram/android/login/b/ah;)V
    .locals 0
    .parameter

    .prologue
    .line 83
    invoke-direct {p0}, Lcom/instagram/android/login/b/ah;->ac()V

    return-void
.end method

.method private g(Z)V
    .locals 2
    .parameter

    .prologue
    .line 699
    invoke-virtual {p0}, Lcom/instagram/android/login/b/ah;->j()Landroid/support/v4/app/j;

    move-result-object v0

    sget v1, Lcom/facebook/aw;->button_facebook_connect:I

    invoke-virtual {v0, v1}, Landroid/support/v4/app/j;->findViewById(I)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0, p1}, Landroid/view/View;->setEnabled(Z)V

    .line 700
    return-void
.end method

.method private h(Z)V
    .locals 3
    .parameter

    .prologue
    .line 945
    invoke-virtual {p0}, Lcom/instagram/android/login/b/ah;->j()Landroid/support/v4/app/j;

    move-result-object v0

    sget v1, Lcom/facebook/aw;->username_glyph:I

    invoke-virtual {v0, v1}, Landroid/support/v4/app/j;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    invoke-virtual {p0}, Lcom/instagram/android/login/b/ah;->l()Landroid/content/res/Resources;

    move-result-object v2

    if-eqz p1, :cond_0

    sget v1, Lcom/facebook/av;->accounts_glyph_username_error:I

    :goto_0
    invoke-virtual {v2, v1}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V

    .line 946
    return-void

    .line 945
    :cond_0
    sget v1, Lcom/facebook/av;->accounts_glyph_username_default:I

    goto :goto_0
.end method

.method static synthetic h(Lcom/instagram/android/login/b/ah;)Z
    .locals 1
    .parameter

    .prologue
    .line 83
    iget-boolean v0, p0, Lcom/instagram/android/login/b/ah;->ac:Z

    return v0
.end method

.method private i(Z)V
    .locals 3
    .parameter

    .prologue
    .line 953
    iput-boolean p1, p0, Lcom/instagram/android/login/b/ah;->Z:Z

    .line 954
    invoke-virtual {p0}, Lcom/instagram/android/login/b/ah;->j()Landroid/support/v4/app/j;

    move-result-object v0

    sget v1, Lcom/facebook/aw;->password_glyph:I

    invoke-virtual {v0, v1}, Landroid/support/v4/app/j;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    invoke-virtual {p0}, Lcom/instagram/android/login/b/ah;->l()Landroid/content/res/Resources;

    move-result-object v2

    if-eqz p1, :cond_0

    sget v1, Lcom/facebook/av;->accounts_glyph_password_error:I

    :goto_0
    invoke-virtual {v2, v1}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V

    .line 955
    return-void

    .line 954
    :cond_0
    sget v1, Lcom/facebook/av;->accounts_glyph_password_default:I

    goto :goto_0
.end method

.method static synthetic i(Lcom/instagram/android/login/b/ah;)Z
    .locals 1
    .parameter

    .prologue
    .line 83
    iget-boolean v0, p0, Lcom/instagram/android/login/b/ah;->Z:Z

    return v0
.end method

.method private j(Z)V
    .locals 3
    .parameter

    .prologue
    .line 958
    const/4 v0, 0x1

    iput-boolean v0, p0, Lcom/instagram/android/login/b/ah;->aa:Z

    .line 959
    invoke-virtual {p0}, Lcom/instagram/android/login/b/ah;->j()Landroid/support/v4/app/j;

    move-result-object v0

    sget v1, Lcom/facebook/aw;->email_glyph:I

    invoke-virtual {v0, v1}, Landroid/support/v4/app/j;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    invoke-virtual {p0}, Lcom/instagram/android/login/b/ah;->l()Landroid/content/res/Resources;

    move-result-object v2

    if-eqz p1, :cond_0

    sget v1, Lcom/facebook/av;->accounts_glyph_email_error:I

    :goto_0
    invoke-virtual {v2, v1}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V

    .line 960
    return-void

    .line 959
    :cond_0
    sget v1, Lcom/facebook/av;->accounts_glyph_email_default:I

    goto :goto_0
.end method

.method static synthetic j(Lcom/instagram/android/login/b/ah;)Z
    .locals 1
    .parameter

    .prologue
    .line 83
    iget-boolean v0, p0, Lcom/instagram/android/login/b/ah;->aa:Z

    return v0
.end method

.method static synthetic k(Lcom/instagram/android/login/b/ah;)V
    .locals 0
    .parameter

    .prologue
    .line 83
    invoke-direct {p0}, Lcom/instagram/android/login/b/ah;->af()V

    return-void
.end method

.method static synthetic l(Lcom/instagram/android/login/b/ah;)V
    .locals 0
    .parameter

    .prologue
    .line 83
    invoke-direct {p0}, Lcom/instagram/android/login/b/ah;->am()V

    return-void
.end method

.method static synthetic m(Lcom/instagram/android/login/b/ah;)Landroid/os/Handler;
    .locals 1
    .parameter

    .prologue
    .line 83
    iget-object v0, p0, Lcom/instagram/android/login/b/ah;->b:Landroid/os/Handler;

    return-object v0
.end method

.method static synthetic n(Lcom/instagram/android/login/b/ah;)V
    .locals 0
    .parameter

    .prologue
    .line 83
    invoke-direct {p0}, Lcom/instagram/android/login/b/ah;->an()V

    return-void
.end method


# virtual methods
.method public X()V
    .locals 1

    .prologue
    .line 630
    iget-object v0, p0, Lcom/instagram/android/login/b/ah;->h:Lcom/instagram/android/nux/i;

    invoke-virtual {v0}, Lcom/instagram/android/nux/i;->c()Z

    move-result v0

    if-nez v0, :cond_0

    .line 631
    const/4 v0, 0x1

    invoke-direct {p0, v0}, Lcom/instagram/android/login/b/ah;->g(Z)V

    .line 633
    :cond_0
    return-void
.end method

.method public a(Landroid/view/LayoutInflater;Landroid/view/ViewGroup;Landroid/os/Bundle;)Landroid/view/View;
    .locals 9
    .parameter
    .parameter
    .parameter

    .prologue
    const/4 v8, 0x0

    const/4 v5, 0x2

    const/4 v7, 0x1

    const/4 v6, 0x0

    .line 197
    sget v0, Lcom/facebook/ax;->fragment_register:I

    invoke-virtual {p1, v0, p2, v6}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;Z)Landroid/view/View;

    move-result-object v1

    .line 199
    sget v0, Lcom/facebook/aw;->password:I

    invoke-virtual {v1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/EditText;

    iput-object v0, p0, Lcom/instagram/android/login/b/ah;->e:Landroid/widget/EditText;

    .line 200
    sget v0, Lcom/facebook/aw;->email:I

    invoke-virtual {v1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/AutoCompleteTextView;

    iput-object v0, p0, Lcom/instagram/android/login/b/ah;->d:Landroid/widget/AutoCompleteTextView;

    .line 201
    sget v0, Lcom/facebook/aw;->username:I

    invoke-virtual {v1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/EditText;

    iput-object v0, p0, Lcom/instagram/android/login/b/ah;->f:Landroid/widget/EditText;

    .line 202
    sget v0, Lcom/facebook/aw;->phone:I

    invoke-virtual {v1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/EditText;

    iput-object v0, p0, Lcom/instagram/android/login/b/ah;->g:Landroid/widget/EditText;

    .line 204
    const-string v0, "com.instagram.android.login.fragment.RegisterFragment.ARGUMENT_EMAIL"

    invoke-direct {p0, v0}, Lcom/instagram/android/login/b/ah;->a(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_2

    .line 205
    iget-object v0, p0, Lcom/instagram/android/login/b/ah;->d:Landroid/widget/AutoCompleteTextView;

    invoke-virtual {p0}, Lcom/instagram/android/login/b/ah;->i()Landroid/os/Bundle;

    move-result-object v2

    const-string v3, "com.instagram.android.login.fragment.RegisterFragment.ARGUMENT_EMAIL"

    invoke-virtual {v2, v3}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v2}, Landroid/widget/AutoCompleteTextView;->setText(Ljava/lang/CharSequence;)V

    .line 210
    :goto_0
    const-string v0, "com.instagram.android.login.fragment.RegisterFragment.ARGUMENT_USERNAME"

    invoke-direct {p0, v0}, Lcom/instagram/android/login/b/ah;->a(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_0

    .line 211
    iget-object v0, p0, Lcom/instagram/android/login/b/ah;->f:Landroid/widget/EditText;

    invoke-virtual {p0}, Lcom/instagram/android/login/b/ah;->i()Landroid/os/Bundle;

    move-result-object v2

    const-string v3, "com.instagram.android.login.fragment.RegisterFragment.ARGUMENT_USERNAME"

    invoke-virtual {v2, v3}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v2}, Landroid/widget/EditText;->setText(Ljava/lang/CharSequence;)V

    .line 214
    :cond_0
    const-string v0, "com.instagram.android.login.fragment.RegisterFragment.ARGUMENT_FULL_NAME"

    invoke-direct {p0, v0}, Lcom/instagram/android/login/b/ah;->a(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_1

    .line 215
    sget v0, Lcom/facebook/aw;->full_name:I

    invoke-virtual {v1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    .line 216
    invoke-virtual {p0}, Lcom/instagram/android/login/b/ah;->i()Landroid/os/Bundle;

    move-result-object v2

    const-string v3, "com.instagram.android.login.fragment.RegisterFragment.ARGUMENT_FULL_NAME"

    invoke-virtual {v2, v3}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 234
    :cond_1
    new-instance v0, Lcom/instagram/android/login/b/be;

    invoke-direct {v0, p0, v8}, Lcom/instagram/android/login/b/be;-><init>(Lcom/instagram/android/login/b/ah;Lcom/instagram/android/login/b/ai;)V

    .line 237
    iget-object v2, p0, Lcom/instagram/android/login/b/ah;->d:Landroid/widget/AutoCompleteTextView;

    invoke-virtual {v2, v0}, Landroid/widget/AutoCompleteTextView;->addTextChangedListener(Landroid/text/TextWatcher;)V

    .line 238
    iget-object v2, p0, Lcom/instagram/android/login/b/ah;->e:Landroid/widget/EditText;

    invoke-virtual {v2, v0}, Landroid/widget/EditText;->addTextChangedListener(Landroid/text/TextWatcher;)V

    .line 239
    iget-object v2, p0, Lcom/instagram/android/login/b/ah;->f:Landroid/widget/EditText;

    invoke-virtual {v2, v0}, Landroid/widget/EditText;->addTextChangedListener(Landroid/text/TextWatcher;)V

    .line 240
    iget-object v0, p0, Lcom/instagram/android/login/b/ah;->f:Landroid/widget/EditText;

    new-array v2, v5, [Landroid/text/InputFilter;

    new-instance v3, Lcom/instagram/android/login/j;

    invoke-virtual {p0}, Lcom/instagram/android/login/b/ah;->l()Landroid/content/res/Resources;

    move-result-object v4

    invoke-direct {v3, v4}, Lcom/instagram/android/login/j;-><init>(Landroid/content/res/Resources;)V

    aput-object v3, v2, v6

    new-instance v3, Landroid/text/InputFilter$LengthFilter;

    const/16 v4, 0x1e

    invoke-direct {v3, v4}, Landroid/text/InputFilter$LengthFilter;-><init>(I)V

    aput-object v3, v2, v7

    invoke-virtual {v0, v2}, Landroid/widget/EditText;->setFilters([Landroid/text/InputFilter;)V

    .line 245
    iget-object v0, p0, Lcom/instagram/android/login/b/ah;->f:Landroid/widget/EditText;

    new-instance v2, Lcom/instagram/android/s/a/a;

    invoke-direct {v2}, Lcom/instagram/android/s/a/a;-><init>()V

    invoke-virtual {v0, v2}, Landroid/widget/EditText;->setTransformationMethod(Landroid/text/method/TransformationMethod;)V

    .line 248
    iget-object v0, p0, Lcom/instagram/android/login/b/ah;->d:Landroid/widget/AutoCompleteTextView;

    new-array v2, v7, [Landroid/text/InputFilter;

    new-instance v3, Lcom/instagram/android/login/b/bh;

    invoke-direct {v3, v8}, Lcom/instagram/android/login/b/bh;-><init>(Lcom/instagram/android/login/b/ai;)V

    aput-object v3, v2, v6

    invoke-virtual {v0, v2}, Landroid/widget/AutoCompleteTextView;->setFilters([Landroid/text/InputFilter;)V

    .line 250
    iget-object v0, p0, Lcom/instagram/android/login/b/ah;->g:Landroid/widget/EditText;

    new-instance v2, Lcom/instagram/android/login/b/aq;

    invoke-direct {v2, p0}, Lcom/instagram/android/login/b/aq;-><init>(Lcom/instagram/android/login/b/ah;)V

    invoke-virtual {v0, v2}, Landroid/widget/EditText;->addTextChangedListener(Landroid/text/TextWatcher;)V

    .line 261
    invoke-static {}, Lcom/instagram/b/a;->a()Lcom/instagram/b/c;

    move-result-object v0

    .line 262
    iget-object v2, p0, Lcom/instagram/android/login/b/ah;->f:Landroid/widget/EditText;

    invoke-interface {v0, v2}, Lcom/instagram/b/c;->a(Landroid/widget/TextView;)V

    .line 263
    iget-object v2, p0, Lcom/instagram/android/login/b/ah;->e:Landroid/widget/EditText;

    invoke-interface {v0, v2}, Lcom/instagram/b/c;->a(Landroid/widget/TextView;)V

    .line 264
    iget-object v2, p0, Lcom/instagram/android/login/b/ah;->d:Landroid/widget/AutoCompleteTextView;

    invoke-interface {v0, v2}, Lcom/instagram/b/c;->a(Landroid/widget/TextView;)V

    .line 265
    iget-object v2, p0, Lcom/instagram/android/login/b/ah;->g:Landroid/widget/EditText;

    invoke-interface {v0, v2}, Lcom/instagram/b/c;->a(Landroid/widget/TextView;)V

    .line 267
    sget v0, Lcom/facebook/aw;->tos_warning:I

    invoke-virtual {v1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    .line 268
    new-instance v2, Landroid/text/method/LinkMovementMethod;

    invoke-direct {v2}, Landroid/text/method/LinkMovementMethod;-><init>()V

    invoke-virtual {v0, v2}, Landroid/widget/TextView;->setMovementMethod(Landroid/text/method/MovementMethod;)V

    .line 269
    sget v2, Lcom/facebook/ba;->tos_warning_with_privacy_policy:I

    new-array v3, v5, [Ljava/lang/Object;

    new-instance v4, Ljava/lang/StringBuilder;

    invoke-direct {v4}, Ljava/lang/StringBuilder;-><init>()V

    const-string v5, "&lt;a href=&quot;http://instagram.com/about/legal/terms/&quot;&gt;"

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    sget v5, Lcom/facebook/ba;->terms_of_service:I

    invoke-virtual {p0, v5}, Lcom/instagram/android/login/b/ah;->b(I)Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    const-string v5, "&lt;/a&gt"

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v4

    invoke-static {v4}, Landroid/text/Html;->fromHtml(Ljava/lang/String;)Landroid/text/Spanned;

    move-result-object v4

    aput-object v4, v3, v6

    new-instance v4, Ljava/lang/StringBuilder;

    invoke-direct {v4}, Ljava/lang/StringBuilder;-><init>()V

    const-string v5, "&lt;a href=&quot;http://instagram.com/about/legal/privacy/&quot;&gt;"

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    sget v5, Lcom/facebook/ba;->privacy_policy:I

    invoke-virtual {p0, v5}, Lcom/instagram/android/login/b/ah;->b(I)Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    const-string v5, "&lt;/a&gt"

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v4

    invoke-static {v4}, Landroid/text/Html;->fromHtml(Ljava/lang/String;)Landroid/text/Spanned;

    move-result-object v4

    aput-object v4, v3, v7

    invoke-virtual {p0, v2, v3}, Lcom/instagram/android/login/b/ah;->a(I[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v2

    invoke-static {v2}, Landroid/text/Html;->fromHtml(Ljava/lang/String;)Landroid/text/Spanned;

    move-result-object v2

    invoke-virtual {v0, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 282
    return-object v1

    .line 207
    :cond_2
    invoke-direct {p0}, Lcom/instagram/android/login/b/ah;->ab()V

    goto/16 :goto_0
.end method

.method public a()Lcom/instagram/a/a;
    .locals 1

    .prologue
    .line 752
    new-instance v0, Lcom/instagram/android/login/b/an;

    invoke-direct {v0, p0}, Lcom/instagram/android/login/b/an;-><init>(Lcom/instagram/android/login/b/ah;)V

    return-object v0
.end method

.method public a(IILandroid/content/Intent;)V
    .locals 2
    .parameter
    .parameter
    .parameter

    .prologue
    .line 154
    invoke-static {}, Lcom/instagram/android/g/b;->a()Lcom/facebook/a/b;

    move-result-object v0

    .line 157
    iget-object v1, p0, Lcom/instagram/android/login/b/ah;->i:Lcom/instagram/android/login/b/bd;

    invoke-virtual {v0, v1}, Lcom/facebook/a/b;->a(Lcom/facebook/a/e;)V

    .line 158
    invoke-virtual {v0, p1, p2, p3}, Lcom/facebook/a/b;->a(IILandroid/content/Intent;)V

    .line 159
    iget-object v0, p0, Lcom/instagram/android/login/b/ah;->c:Lcom/instagram/android/e/a;

    const/4 v1, 0x1

    invoke-virtual {v0, p1, p2, p3, v1}, Lcom/instagram/android/e/a;->a(IILandroid/content/Intent;Z)V

    .line 160
    return-void
.end method

.method public a(Landroid/graphics/Bitmap;)V
    .locals 4
    .parameter

    .prologue
    const/16 v3, 0x8

    const/4 v2, 0x0

    .line 740
    if-eqz p1, :cond_0

    .line 741
    invoke-virtual {p0}, Lcom/instagram/android/login/b/ah;->j()Landroid/support/v4/app/j;

    move-result-object v0

    sget v1, Lcom/facebook/aw;->fragment_sign_up_profile_picture_image_view:I

    invoke-virtual {v0, v1}, Landroid/support/v4/app/j;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    invoke-virtual {v0, p1}, Landroid/widget/ImageView;->setImageBitmap(Landroid/graphics/Bitmap;)V

    .line 742
    invoke-virtual {p0}, Lcom/instagram/android/login/b/ah;->j()Landroid/support/v4/app/j;

    move-result-object v0

    sget v1, Lcom/facebook/aw;->fragment_sign_up_profile_picture_image_view:I

    invoke-virtual {v0, v1}, Landroid/support/v4/app/j;->findViewById(I)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0, v2}, Landroid/view/View;->setVisibility(I)V

    .line 743
    invoke-virtual {p0}, Lcom/instagram/android/login/b/ah;->j()Landroid/support/v4/app/j;

    move-result-object v0

    sget v1, Lcom/facebook/aw;->fragment_sign_up_profile_picture_button:I

    invoke-virtual {v0, v1}, Landroid/support/v4/app/j;->findViewById(I)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0, v3}, Landroid/view/View;->setVisibility(I)V

    .line 748
    :goto_0
    return-void

    .line 745
    :cond_0
    invoke-virtual {p0}, Lcom/instagram/android/login/b/ah;->j()Landroid/support/v4/app/j;

    move-result-object v0

    sget v1, Lcom/facebook/aw;->fragment_sign_up_profile_picture_image_view:I

    invoke-virtual {v0, v1}, Landroid/support/v4/app/j;->findViewById(I)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0, v3}, Landroid/view/View;->setVisibility(I)V

    .line 746
    invoke-virtual {p0}, Lcom/instagram/android/login/b/ah;->j()Landroid/support/v4/app/j;

    move-result-object v0

    sget v1, Lcom/facebook/aw;->fragment_sign_up_profile_picture_button:I

    invoke-virtual {v0, v1}, Landroid/support/v4/app/j;->findViewById(I)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0, v2}, Landroid/view/View;->setVisibility(I)V

    goto :goto_0
.end method

.method public a(Landroid/os/Bundle;)V
    .locals 3
    .parameter

    .prologue
    const/4 v2, 0x0

    .line 122
    invoke-super {p0, p1}, Lcom/instagram/e/b/b;->a(Landroid/os/Bundle;)V

    .line 123
    new-instance v0, Lcom/instagram/android/e/a;

    invoke-direct {v0, p0, p1}, Lcom/instagram/android/e/a;-><init>(Lcom/instagram/android/login/b/ah;Landroid/os/Bundle;)V

    iput-object v0, p0, Lcom/instagram/android/login/b/ah;->c:Lcom/instagram/android/e/a;

    .line 127
    invoke-virtual {p0}, Lcom/instagram/android/login/b/ah;->i()Landroid/os/Bundle;

    move-result-object v0

    if-eqz v0, :cond_0

    invoke-virtual {p0}, Lcom/instagram/android/login/b/ah;->i()Landroid/os/Bundle;

    move-result-object v0

    const-string v1, "com.instagram.android.login.fragment.RegisterFragment.ARGUMENT_DAYONE_FACEBOOK"

    invoke-virtual {v0, v1, v2}, Landroid/os/Bundle;->getBoolean(Ljava/lang/String;Z)Z

    move-result v0

    if-nez v0, :cond_1

    .line 128
    :cond_0
    invoke-static {v2}, Lcom/instagram/android/g/b;->a(Z)V

    .line 130
    :cond_1
    invoke-static {v2}, Lcom/instagram/android/u/a;->a(Z)V

    .line 131
    return-void
.end method

.method public a(Landroid/view/View;Landroid/os/Bundle;)V
    .locals 3
    .parameter
    .parameter

    .prologue
    .line 287
    invoke-super {p0, p1, p2}, Lcom/instagram/e/b/b;->a(Landroid/view/View;Landroid/os/Bundle;)V

    .line 288
    iget-object v0, p0, Lcom/instagram/android/login/b/ah;->c:Lcom/instagram/android/e/a;

    invoke-virtual {v0}, Lcom/instagram/android/e/a;->a()V

    .line 289
    invoke-virtual {p0}, Lcom/instagram/android/login/b/ah;->j()Landroid/support/v4/app/j;

    move-result-object v0

    sget v1, Lcom/facebook/aw;->fragment_sign_up_profile_picture_button:I

    invoke-virtual {v0, v1}, Landroid/support/v4/app/j;->findViewById(I)Landroid/view/View;

    move-result-object v0

    invoke-virtual {p0}, Lcom/instagram/android/login/b/ah;->j()Landroid/support/v4/app/j;

    move-result-object v1

    sget v2, Lcom/facebook/aw;->fragment_sign_up_profile_picture_button:I

    invoke-virtual {v1, v2}, Landroid/support/v4/app/j;->findViewById(I)Landroid/view/View;

    move-result-object v1

    invoke-virtual {v1}, Landroid/view/View;->getMeasuredHeight()I

    move-result v1

    invoke-virtual {v0, v1}, Landroid/view/View;->setMinimumWidth(I)V

    .line 290
    invoke-virtual {p0}, Lcom/instagram/android/login/b/ah;->j()Landroid/support/v4/app/j;

    move-result-object v0

    sget v1, Lcom/facebook/aw;->fragment_sign_up_profile_picture_image_view:I

    invoke-virtual {v0, v1}, Landroid/support/v4/app/j;->findViewById(I)Landroid/view/View;

    move-result-object v0

    invoke-virtual {p0}, Lcom/instagram/android/login/b/ah;->j()Landroid/support/v4/app/j;

    move-result-object v1

    sget v2, Lcom/facebook/aw;->fragment_sign_up_profile_picture_button:I

    invoke-virtual {v1, v2}, Landroid/support/v4/app/j;->findViewById(I)Landroid/view/View;

    move-result-object v1

    invoke-virtual {v1}, Landroid/view/View;->getMeasuredHeight()I

    move-result v1

    invoke-virtual {v0, v1}, Landroid/view/View;->setMinimumWidth(I)V

    .line 291
    return-void
.end method

.method public a(Lcom/instagram/android/nux/k;)V
    .locals 1
    .parameter

    .prologue
    .line 620
    if-eqz p1, :cond_0

    .line 622
    iget-object v0, p0, Lcom/instagram/android/login/b/ah;->h:Lcom/instagram/android/nux/i;

    invoke-virtual {v0}, Lcom/instagram/android/nux/i;->c()Z

    move-result v0

    if-nez v0, :cond_0

    .line 623
    invoke-direct {p0, p1}, Lcom/instagram/android/login/b/ah;->b(Lcom/instagram/android/nux/k;)V

    .line 626
    :cond_0
    return-void
.end method

.method public a(Z)V
    .locals 3
    .parameter

    .prologue
    .line 636
    iget-object v0, p0, Lcom/instagram/android/login/b/ah;->h:Lcom/instagram/android/nux/i;

    invoke-virtual {v0, p1}, Lcom/instagram/android/nux/i;->a(Z)V

    .line 637
    invoke-static {}, Lcom/instagram/android/g/b;->a()Lcom/facebook/a/b;

    move-result-object v1

    .line 638
    invoke-virtual {v1}, Lcom/facebook/a/b;->b()Z

    move-result v0

    if-eqz v0, :cond_0

    .line 639
    invoke-static {}, Lcom/instagram/android/nux/a/a;->a()Lcom/instagram/android/nux/a/a;

    move-result-object v0

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Lcom/instagram/android/nux/a/a;->a(Z)V

    .line 640
    invoke-direct {p0}, Lcom/instagram/android/login/b/ah;->af()V

    .line 650
    :goto_0
    return-void

    .line 642
    :cond_0
    invoke-static {}, Lcom/instagram/android/nux/a/a;->a()Lcom/instagram/android/nux/a/a;

    move-result-object v0

    const/4 v2, 0x0

    invoke-virtual {v0, v2}, Lcom/instagram/android/nux/a/a;->a(Z)V

    .line 643
    if-eqz p1, :cond_1

    sget-object v0, Lcom/instagram/android/g/i;->c:[Ljava/lang/String;

    :goto_1
    iget-object v2, p0, Lcom/instagram/android/login/b/ah;->i:Lcom/instagram/android/login/b/bd;

    invoke-virtual {v1, p0, v0, v2}, Lcom/facebook/a/b;->a(Landroid/support/v4/app/Fragment;[Ljava/lang/String;Lcom/facebook/a/e;)V

    goto :goto_0

    :cond_1
    sget-object v0, Lcom/instagram/android/g/i;->b:[Ljava/lang/String;

    goto :goto_1
.end method

.method public d(Landroid/os/Bundle;)V
    .locals 5
    .parameter

    .prologue
    .line 164
    invoke-super {p0, p1}, Lcom/instagram/e/b/b;->d(Landroid/os/Bundle;)V

    .line 166
    new-instance v0, Lcom/instagram/android/nux/i;

    invoke-virtual {p0}, Lcom/instagram/android/login/b/ah;->j()Landroid/support/v4/app/j;

    move-result-object v1

    invoke-direct {v0, v1, p0}, Lcom/instagram/android/nux/i;-><init>(Landroid/app/Activity;Lcom/instagram/android/nux/q;)V

    iput-object v0, p0, Lcom/instagram/android/login/b/ah;->h:Lcom/instagram/android/nux/i;

    .line 167
    invoke-direct {p0}, Lcom/instagram/android/login/b/ah;->aa()V

    .line 168
    new-instance v0, Lcom/instagram/android/login/d/b;

    invoke-virtual {p0}, Lcom/instagram/android/login/b/ah;->j()Landroid/support/v4/app/j;

    move-result-object v1

    invoke-virtual {p0}, Lcom/instagram/android/login/b/ah;->u()Landroid/support/v4/app/aj;

    move-result-object v2

    new-instance v3, Lcom/instagram/android/login/b/ba;

    const/4 v4, 0x0

    invoke-direct {v3, p0, v4}, Lcom/instagram/android/login/b/ba;-><init>(Lcom/instagram/android/login/b/ah;Lcom/instagram/android/login/b/ai;)V

    invoke-direct {v0, v1, v2, v3}, Lcom/instagram/android/login/d/b;-><init>(Landroid/content/Context;Landroid/support/v4/app/aj;Lcom/instagram/android/d/j/a;)V

    iput-object v0, p0, Lcom/instagram/android/login/b/ah;->a:Lcom/instagram/android/login/d/b;

    .line 169
    return-void
.end method

.method public d_()Ljava/lang/String;
    .locals 1

    .prologue
    .line 987
    const-string v0, "register"

    return-object v0
.end method

.method public e(Landroid/os/Bundle;)V
    .locals 1
    .parameter

    .prologue
    .line 704
    iget-object v0, p0, Lcom/instagram/android/login/b/ah;->c:Lcom/instagram/android/e/a;

    invoke-virtual {v0, p1}, Lcom/instagram/android/e/a;->a(Landroid/os/Bundle;)V

    .line 705
    invoke-super {p0, p1}, Lcom/instagram/e/b/b;->e(Landroid/os/Bundle;)V

    .line 706
    return-void
.end method

.method public f_()V
    .locals 0

    .prologue
    .line 710
    invoke-direct {p0}, Lcom/instagram/android/login/b/ah;->ag()V

    .line 711
    invoke-super {p0}, Lcom/instagram/e/b/b;->f_()V

    .line 712
    return-void
.end method

.method public g_()V
    .locals 2

    .prologue
    .line 135
    iget-object v0, p0, Lcom/instagram/android/login/b/ah;->d:Landroid/widget/AutoCompleteTextView;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/AutoCompleteTextView;->setOnFocusChangeListener(Landroid/view/View$OnFocusChangeListener;)V

    .line 136
    iget-object v0, p0, Lcom/instagram/android/login/b/ah;->c:Lcom/instagram/android/e/a;

    invoke-virtual {v0}, Lcom/instagram/android/e/a;->d()V

    .line 138
    invoke-static {}, Lcom/instagram/b/a;->a()Lcom/instagram/b/c;

    move-result-object v0

    .line 139
    iget-object v1, p0, Lcom/instagram/android/login/b/ah;->f:Landroid/widget/EditText;

    invoke-interface {v0, v1}, Lcom/instagram/b/c;->b(Landroid/widget/TextView;)V

    .line 140
    iget-object v1, p0, Lcom/instagram/android/login/b/ah;->e:Landroid/widget/EditText;

    invoke-interface {v0, v1}, Lcom/instagram/b/c;->b(Landroid/widget/TextView;)V

    .line 141
    iget-object v1, p0, Lcom/instagram/android/login/b/ah;->d:Landroid/widget/AutoCompleteTextView;

    invoke-interface {v0, v1}, Lcom/instagram/b/c;->b(Landroid/widget/TextView;)V

    .line 142
    iget-object v1, p0, Lcom/instagram/android/login/b/ah;->g:Landroid/widget/EditText;

    invoke-interface {v0, v1}, Lcom/instagram/b/c;->b(Landroid/widget/TextView;)V

    .line 144
    invoke-static {}, Lcom/instagram/service/a;->a()Lcom/instagram/service/a;

    move-result-object v0

    invoke-virtual {v0}, Lcom/instagram/service/a;->d()Z

    move-result v0

    if-nez v0, :cond_0

    .line 145
    invoke-static {}, Lcom/instagram/android/nux/a/a;->a()Lcom/instagram/android/nux/a/a;

    move-result-object v0

    invoke-virtual {v0}, Lcom/instagram/android/nux/a/a;->b()V

    .line 148
    :cond_0
    iget-object v0, p0, Lcom/instagram/android/login/b/ah;->h:Lcom/instagram/android/nux/i;

    invoke-virtual {v0}, Lcom/instagram/android/nux/i;->a()V

    .line 149
    invoke-super {p0}, Lcom/instagram/e/b/b;->g_()V

    .line 150
    return-void
.end method

.method public w()V
    .locals 0

    .prologue
    .line 893
    invoke-super {p0}, Lcom/instagram/e/b/b;->w()V

    .line 894
    invoke-direct {p0}, Lcom/instagram/android/login/b/ah;->an()V

    .line 895
    return-void
.end method
